package com.example.iread.bean;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "book_history")
public class BookBean {

    @PrimaryKey(autoGenerate = true)
    public int _id;

    public Integer id;

    public String bookName;

    public String author;

    public String bookInfo;

    public Integer read;

    public Integer typeId;

    public String cover;

    public Integer minSuggestion;

    public Integer maxSuggestion;

    public String createTime;

    public String updateTime;


    @Override
    public String toString() {
        return "BookBean{" +
                "_id=" + _id +
                ", id=" + id +
                ", bookName='" + bookName + '\'' +
                ", author='" + author + '\'' +
                ", bookInfo='" + bookInfo + '\'' +
                ", read=" + read +
                ", typeId=" + typeId +
                ", cover='" + cover + '\'' +
                ", minSuggestion=" + minSuggestion +
                ", maxSuggestion=" + maxSuggestion +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }
}
